// 导入 express
const express = require('express')
const bodyParser = require('body-parser');

// 创建服务器
const app = express()

app.use(bodyParser.urlencoded({extended: false}))
app.use(bodyParser.json());

const table = require('./front/table.js')
app.use('/front', express.static('public'));
app.use('/api', table)
app.listen('9985')